package com.sc.justification.system;

import java.awt.EventQueue;

import javax.swing.JDialog;
import javax.swing.JTabbedPane;
import java.awt.BorderLayout;
import javax.swing.JPanel;

import com.sc.justification.AppWindow;

public class SetupDialog extends JDialog {

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					SetupDialog dialog = new SetupDialog();
					dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
					dialog.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the dialog.
	 */
	public SetupDialog() {
		super(AppWindow.frame,true);
		setBounds(100, 100, 748, 541);
		
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		getContentPane().add(tabbedPane, BorderLayout.CENTER);
		
		JPanel panel = new InstitutePanel(this);
		tabbedPane.addTab("鉴定机构", null, panel, null);
		
		JPanel panel_1 = new CategoryPanel(this);
		tabbedPane.addTab("鉴定类别", null, panel_1, null);
		
		JPanel panel_2 = new ChargePanel();
		tabbedPane.addTab("收费项目", null, panel_2, null);
		
		JPanel panel_3 = new TemplatePanel(this);
		tabbedPane.addTab("鉴定模板", null, panel_3, null);
		
		JPanel panel_4 = new JPanel();
		tabbedPane.addTab("正副本", null, panel_4, null);
		
		JPanel panel_5 = new JPanel();
		tabbedPane.addTab("存储设置", null, panel_5, null);
		
		JPanel panel_6 = new JPanel();
		tabbedPane.addTab("工资设置", null, panel_6, null);
		
		JPanel panel_7 = new JPanel();
		tabbedPane.addTab("界面维护", null, panel_7, null);
		
		JPanel panel_8 = new JPanel();
		tabbedPane.addTab("文件类型", null, panel_8, null);

	}

}
